package com.study.hot.jetpack.databinding.model

import androidx.databinding.ObservableField
import androidx.databinding.ObservableInt

/**
 * <pre>
 *     author : fauks
 *     time   : 2020/03/25
 *     desc   :
 * </pre>
 */
class ObBean(age: ObservableInt?, name: ObservableField<String?>?) {
    private var age: ObservableInt?
    private var name: ObservableField<String?>?
    fun getAge(): ObservableInt? {
        return age
    }

    fun setAge(age: ObservableInt?) {
        this.age = age
    }

    fun getName(): ObservableField<String?>? {
        return name
    }

    fun setName(name: ObservableField<String?>?) {
        this.name = name
    }

    init {
        this.age = age
        this.name = name
    }
}